package com.example.service.impl;

import com.example.entity.FosterOrder;
import com.example.mapper.FosterOrderMapper;
import com.example.service.FosterOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther: Nostalgia
 * @Date: 2020/7/10 11:08
 * @Description:
 */
@Service
public class FosterOrderServiceImpl implements FosterOrderService {
    @Autowired
    private FosterOrderMapper fosterOrderMapper;
    @Override
    public List<FosterOrder> getAllFosterOrderORByUsername(String username) {
        return fosterOrderMapper.getAllFosterOrderORByUsername(username);
    }
}
